from fastapi import FastAPI

from routers.faultRouter.contractHead import contract_head_router
from routers.faultRouter.equipmentFault import equipment_fault_router
from routers.faultRouter.faultDanger import fault_danger_router
from routers.faultRouter.faultLevel import fault_level_router
from routers.faultRouter.repairHead import repair_head_router


def register_fault_router(app: FastAPI):
    app.include_router(contract_head_router)
    app.include_router(equipment_fault_router)
    app.include_router(fault_danger_router)
    app.include_router(fault_level_router)
    app.include_router(repair_head_router)
